<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:fn="http://java.sun.com/jsp/jstl/functions"
                template="layout/bismillah_template.xhtml">
    <form id="myform">

        <fieldset>
            <h3>Sample registration form</h3>

            <p> Enter bad values and then press the submit button. </p>

            <p>
                <label>email *</label>
                <input type="email" required="required" name="email">
            </p>
            <p>
                <label>website *</label>
                <input type="url" required="required" name="url">
            </p>
            <p>
                <label>name *</label>
                <input type="text" maxlength="30" pattern="[a-zA-Z ]{5,}" name="name">
            </p>
            <p>
                <label>age</label>
                <input type="number" max="50" min="5" size="4" name="age">
            </p>

            <p id="terms">
                <label>I accept the terms</label>
                <input type="checkbox" required="required">
            </p>

            <button type="submit">Submit form</button>
            <button type="reset">Reset</button>
        </fieldset>

    </form>
</ui:composition>